<template>
  <div>
    <van-list
      :finished="finished"
      finished-text="没有更多了"
    >
      <van-cell
        v-for="(item,index) in searchTipsData"
        :key="index"
        :title="item"
      />
    </van-list>
  </div>
</template>

<script>
export default {
  data () {
    return {
      list: [1, 2, 3, 4, 5, 6, 7],
      finished: true,
    };
  },
  props: ["searchTipsData"],
  methods: {
    onLoad () {
      // 异步更新数据
      // setTimeout 仅做示例，真实场景中一般为 ajax 请求

    },
  },
}
</script>

<style>
</style>
